﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="@Url.Content("~/Content/kendo/kendo.common.min.css")"> 
    <link rel="stylesheet" href="@Url.Content("~/Content/kendo/kendo.default.min.css")"> 

    <script src="@Url.Content("~/Scripts/kendo/jquery.min.js")"></script> 
    <script src="@Url.Content("~/Scripts/kendo/kendo.web.min.js")"></script> 
    <script src="@Url.Content("~/Scripts/kendo/kendo.aspnetmvc.min.js")"></script> 
</head>

<body>
    @(Html.Kendo().Splitter()
        .Name("mainSplitter")
        .Panes(panes =>
        {
            panes.Add()
                .Size("300px")
                .Content(
                    @<text>
                        @Html.Partial("_Navigation")
                    </text>
                );
            panes.Add()
                .Content(
                    @<text>
                        @RenderBody()
                    </text>
                );
        })
    )

    <script src="@Url.Content("~/Scripts/Layout.js")"></script> 
    <script src="@Url.Content("~/Scripts/Navigation.js")"></script> 
    <script>
        jQuery(document).ready(function () {
            Layout.init();
        })
    </script>
</body>
</html>
